package cn.javabb.project.service;

import cn.hutool.core.util.ObjectUtil;
import cn.javabb.project.entity.GenProject;
import cn.javabb.project.entity.GenTable;
import cn.javabb.project.entity.GenTableColumn;
import cn.javabb.project.mapper.GenProjectMapper;
import cn.javabb.project.model.dto.ProjectDTO;
import cn.javabb.project.model.qry.ProjectQry;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.stream.Collectors;

/**
 * @desc:
 * @author: javabb (javabob(a)163.com)
 * @create: 2021/09/20 19:35
 */
@Service
public class GenProjectService extends ServiceImpl<GenProjectMapper, GenProject> {

    @Autowired
    private GenTableService tableService;

    public List<ProjectDTO> list(ProjectQry qry) {
        return baseMapper.list(qry);
    }


}
